package com.snopy.rxjava;

import io.reactivex.rxjava3.core.Flowable;

/**
 * @author snopy
 * @version 1.0.0
 * @classname Demo1
 * @description
 * @email 77912204@qq.com
 * @date 2022/03/16 17:43
 */
public class Demo1 {
    public static void main(String[] args) {
        hello("Jack","Snopy","Jane");
    }
    public static void hello(String...args){
        Flowable.fromArray(args).subscribe(s -> {
            System.out.println("Hello " + s + "!");
        });
    }
}
